package com.frejoys.common.dto.admin;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


/**
 * 提交审核参数不包含商家入驻
 */
@Data
public class SubmitVerifyDto {

    @Min(value = 1,message = "{600}")
    @Max(value = 4,message = "{600}")
    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "type", description = "类型：2店铺，3商品,4活动", required = true, defaultValue = "1")
    private Integer type;

    @NotNull(message = "{600}")
    @Schema(type = "Integer", name = "commonId", description = "id，根据type变化，例如店铺id", required = true, defaultValue = "1")
    private Integer commonId;


}
